//
//  UIImage+Draw.h
//  AzazieObjcDemo
//
//  Created by Demi on 2017/01/11.
//  Copyright © 2017 Azazie. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (Draw)

+ (void)drawColorSelectionWithColor:(UIColor *)color outerColor:(UIColor *)outerColor context:(CGContextRef)context rect:(CGRect)rect;

+ (void)asyncDrawColorSelectionWithColor:(UIColor *)color outerColor:(UIColor *)outerColor size:(CGSize)size callback:(void(^)(UIImage *))callback;

//返回一个可拉伸的图片
+ (UIImage *)resizableImageWithName:(NSString *)imageName;

@end

NS_ASSUME_NONNULL_END
